=== Test case: graphql_last_SUITE:admin_remove_old_users_domain/1 (click for source code) === Config value: [{watchdog,<0.18333.0>}, {protocol,http}, {schema_endpoint,admin}, {listener_opts,#{module => mongoose_graphql_handler, path => "/api/graphql",host => "localhost", username => <<"admin">>,password => <<"secret">>, schema_endpoint => admin}}, {{ejabberd_cwd,mongooseim@localhost}, "/home/circleci/project/_build/mim1/rel/mongooseim"}, {preset,"odbc_mssql_mnesia"}, {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_last_SUITE_data"}, {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.graphql_last_SUITE.logs/run.2023-11-17_15.13.24/graphql_last_suite.admin_remove_old_users_domain.html"}, {tc_group_properties,[{name,admin_old_users}]}, {tc_group_path,[[{name,admin_last_configured}],[{name,admin_http}]]}, {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_last_SUITE_data/"}, {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18/big_tests.tests.graphql_last_SUITE.logs/run.2023-11-17_15.13.24/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_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_sic => #{iqdisc => one_queue}, mod_presence => #{}, mod_disco => #{iqdisc => one_queue,users_can_see_hidden_services => false, server_info => [],extra_domains => []}, 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_bosh => #{backend => mnesia,inactivity => 30,max_pause => 120, max_wait => infinity,server_acks => false}, mod_cache_users => #{strategy => fifo,number_of_segments => 5,time_to_live => 2}, mod_carboncopy => #{iqdisc => no_queue}}}] === Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@9f12fc69b406.2023-11-17_15.10.18" === Started at 2023-11-17 15:13:25
*** User 2023-11-17 15:13:25.520 ***🔗 REST request: Code: 200 Req: {<0.18399.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"09f85491d69d81ab">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"user\":\"bob@domain.example.com\",\"timestamp\":\"2023-11-17T15:15:05Z\",\"status\":\"\"},\"query\":\"mutation ($status: String!, $timestamp: DateTime, $user: JID!) { last { setLast(status: $status, timestamp: $timestamp, user: $user) { status timestamp user } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:13:25 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"117">>}], <<"{\"data\":{\"last\":{\"setLast\":{\"user\":\"bob@domain.example.com\",\"timestamp\":\"2023-11-17T15:15:05.000000Z\",\"status\":\"\"}}}}">>, 256,2236} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, creds => {<<"admin">>,<<"secret">>}, body => <<"{\"variables\":{\"user\":\"bob@domain.example.com\",\"timestamp\":\"2023-11-17T15:15:05Z\",\"status\":\"\"},\"query\":\"mutation ($status: String!, $timestamp: DateTime, $user: JID!) { last { setLast(status: $status, timestamp: $timestamp, user: $user) { status timestamp user } } }\"}">>, return_maps => true, role => {graphql,admin}, return_headers => true}
*** User 2023-11-17 15:13:25.524 ***🔗 REST request: Code: 200 Req: {<0.18401.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"2c43aede69f37b94">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"user\":\"alice@domain.example.org\",\"timestamp\":\"2023-11-17T15:15:05Z\",\"status\":\"\"},\"query\":\"mutation ($status: String!, $timestamp: DateTime, $user: JID!) { last { setLast(status: $status, timestamp: $timestamp, user: $user) { status timestamp user } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:13:25 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"119">>}], <<"{\"data\":{\"last\":{\"setLast\":{\"user\":\"alice@domain.example.org\",\"timestamp\":\"2023-11-17T15:15:05.000000Z\",\"status\":\"\"}}}}">>, 258,1932} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, creds => {<<"admin">>,<<"secret">>}, body => <<"{\"variables\":{\"user\":\"alice@domain.example.org\",\"timestamp\":\"2023-11-17T15:15:05Z\",\"status\":\"\"},\"query\":\"mutation ($status: String!, $timestamp: DateTime, $user: JID!) { last { setLast(status: $status, timestamp: $timestamp, user: $user) { status timestamp user } } }\"}">>, return_maps => true, role => {graphql,admin}, return_headers => true}
*** User 2023-11-17 15:13:25.527 ***🔗 REST request: Code: 200 Req: {<0.18403.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"48f1f73031a6fe73">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"user\":\"alice@domain.example.com\",\"timestamp\":\"2023-11-17T15:16:45Z\",\"status\":\"\"},\"query\":\"mutation ($status: String!, $timestamp: DateTime, $user: JID!) { last { setLast(status: $status, timestamp: $timestamp, user: $user) { status timestamp user } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:13:25 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"119">>}], <<"{\"data\":{\"last\":{\"setLast\":{\"user\":\"alice@domain.example.com\",\"timestamp\":\"2023-11-17T15:16:45.000000Z\",\"status\":\"\"}}}}">>, 258,2090} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, creds => {<<"admin">>,<<"secret">>}, body => <<"{\"variables\":{\"user\":\"alice@domain.example.com\",\"timestamp\":\"2023-11-17T15:16:45Z\",\"status\":\"\"},\"query\":\"mutation ($status: String!, $timestamp: DateTime, $user: JID!) { last { setLast(status: $status, timestamp: $timestamp, user: $user) { status timestamp user } } }\"}">>, return_maps => true, role => {graphql,admin}, return_headers => true}
*** User 2023-11-17 15:13:25.535 ***🔗 REST request: Code: 200 Req: {<0.18405.0>,<<"/api/graphql">>,<<"POST">>, [{<<"Content-Type">>,<<"application/json">>}, {<<"Request-Id">>,<<"fa413c6e8ce9874f">>}, {<<"authorization">>,<<"Basic YWRtaW46c2VjcmV0">>}], <<"{\"variables\":{\"domain\":\"domain.example.com\",\"timestamp\":\"2023-11-17T15:15:55Z\"},\"query\":\"mutation ($domain: DomainName, $timestamp: DateTime!) { last { removeOldUsers(domain: $domain, timestamp: $timestamp) { jid timestamp } } }\"}">>} Result: {{<<"200">>,<<"OK">>}, [{<<"vary">>,<<"accept">>}, {<<"server">>,<<"Cowboy">>}, {<<"date">>,<<"Fri, 17 Nov 2023 15:13:25 GMT">>}, {<<"content-type">>,<<"application/json">>}, {<<"content-length">>,<<"113">>}], <<"{\"data\":{\"last\":{\"removeOldUsers\":[{\"timestamp\":\"2023-11-17T15:15:05.000000Z\",\"jid\":\"bob@domain.example.com\"}]}}}">>, 252,7255} Params: #{port => 5551,path => <<"/api/graphql">>, server => #{node => mongooseim@localhost}, method => <<"POST">>, creds => {<<"admin">>,<<"secret">>}, body => <<"{\"variables\":{\"domain\":\"domain.example.com\",\"timestamp\":\"2023-11-17T15:15:55Z\"},\"query\":\"mutation ($domain: DomainName, $timestamp: DateTime!) { last { removeOldUsers(domain: $domain, timestamp: $timestamp) { jid timestamp } } }\"}">>, return_maps => true, role => {graphql,admin}, return_headers => true}
*** CT Error Notification 2023-11-17 15:13:25.536 ***🔗 distributed_helper:rpc failed on line 140 Reason: {badrpc,{'EXIT',{...}}} Full error description and stacktrace
=== Ended at 2023-11-17 15:13:25 === Location: [{distributed_helper,rpc,140}, {graphql_last_SUITE,admin_remove_old_users_domain_story,342}, {test_server,ts_tc,1793}, {test_server,run_test_case_eval1,1302}, {test_server,run_test_case_eval,1234}] === === Reason: {badrpc, {'EXIT', {undef, [{mongoose_account_api,check_account, [<<"bob">>,<<"domain.example.com">>], []}]}}} in function distributed_helper:rpc/4 called as distributed_helper:rpc(#{node => mongooseim@localhost}, mongoose_account_api,check_account, [<<"bob">>,<<"domain.example.com">>]) in call from graphql_last_SUITE:admin_remove_old_users_domain_story/4 (/home/circleci/project/big_tests/tests/graphql_last_SUITE.erl, line 342) in call from test_server:ts_tc/3 (test_server.erl, line 1793) in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1302) in call from test_server:run_test_case_eval/9 (test_server.erl, line 1234)
Test run history | Top level test index | Latest test result