=== Config function: graphql_SUITE:init_per_group/2 (click for source code)

=== Group properties: [{name,tls_enabled},parallel]

=== Config value:

    [{watchdog,<0.13513.0>},
     {preset,"ldap_mnesia"},
     {mim_data_dir,"/home/circleci/project/big_tests/tests/graphql_SUITE_data"},
     {tc_logfile,"/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/graphql_suite.init_per_group.21891.html"},
     {tc_group_properties,[{name,tls_enabled},parallel]},
     {tc_group_path,[]},
     {data_dir,"/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_SUITE_data/"},
     {priv_dir,"/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/"},
     {{saved_modules,mongooseim@localhost,<<"localhost">>},
      #{mod_adhoc => #{iqdisc => one_queue,report_commands_node => false},
        mod_amp => #{},
        mod_bosh =>
            #{backend => mnesia,inactivity => 30,max_pause => 120,
              max_wait => infinity,server_acks => false},
        mod_cache_users =>
            #{number_of_segments => 5,strategy => fifo,time_to_live => 2},
        mod_carboncopy => #{iqdisc => no_queue},
        mod_disco =>
            #{extra_domains => [],iqdisc => one_queue,server_info => [],
              users_can_see_hidden_services => false},
        mod_presence => #{},
        mod_register =>
            #{access => register,
              ip_access => [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
              iqdisc => one_queue,password_strength => 0,
              registration_watchers => []},
        mod_roster =>
            #{backend => mnesia,iqdisc => one_queue,store_current_id => false,
              versioning => false},
        mod_sic => #{iqdisc => one_queue},
        mod_stream_management =>
            #{ack => true,ack_freq => 1,backend => mnesia,buffer => true,
              buffer_max => 100,resume_timeout => 600,
              stale_h =>
                  #{enabled => false,geriatric => 3600,repeat_after => 1800}},
        mod_vcard =>
            #{backend => ldap,
              host => {prefix,<<"vjud.">>},
              iqdisc => parallel,
              ldap =>
                  #{base => <<"ou=Users,dc=esl,dc=com">>,
                    binary_search_fields => [],deref => never,
                    filter => <<"(objectClass=inetOrgPerson)">>,
                    pool_tag => default,
                    search_fields =>
                        [{<<"User">>,<<"%u">>},
                         {<<"Full Name">>,<<"displayName">>},
                         {<<"Given Name">>,<<"givenName">>},
                         {<<"Middle Name">>,<<"initials">>},
                         {<<"Family Name">>,<<"sn">>},
                         {<<"Nickname">>,<<"%u">>},
                         {<<"Birthday">>,<<"birthDay">>},
                         {<<"Country">>,<<"c">>},
                         {<<"City">>,<<"l">>},
                         {<<"Email">>,<<"mail">>},
                         {<<"Organization Name">>,<<"o">>},
                         {<<"Organization Unit">>,<<"ou">>}],
                    search_operator => 'and',
                    search_reported =>
                        [{<<"Full Name">>,<<"FN">>},
                         {<<"Given Name">>,<<"FIRST">>},
                         {<<"Middle Name">>,<<"MIDDLE">>},
                         {<<"Family Name">>,<<"LAST">>},
                         {<<"Nickname">>,<<"NICK">>},
                         {<<"Birthday">>,<<"BDAY">>},
                         {<<"Country">>,<<"CTRY">>},
                         {<<"City">>,<<"LOCALITY">>},
                         {<<"Email">>,<<"EMAIL">>},
                         {<<"Organization Name">>,<<"ORGNAME">>},
                         {<<"Organization Unit">>,<<"ORGUNIT">>}],
                    uids => [{<<"uid">>,<<"%u">>}],
                    vcard_map =>
                        [{<<"NICKNAME">>,<<"%u">>,[]},
                         {<<"FN">>,<<"%s">>,[<<"displayName">>]},
                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                         {<<"GIVEN">>,<<"%s">>,[<<"givenName">>]},
                         {<<"MIDDLE">>,<<"%s">>,[<<"initials">>]},
                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                         {<<"STREET">>,<<"%s">>,[<<"street">>]},
                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                         {<<"PCODE">>,<<"%s">>,[<<"postalCode">>]},
                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                         {<<"URL">>,<<"%s">>,[<<"labeleduri">>]},
                         {<<"DESC">>,<<"%s">>,[<<"description">>]},
                         {<<"TEL">>,<<"%s">>,[<<"telephoneNumber">>]},
                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                         {<<"BDAY">>,<<"%s">>,[<<"birthDay">>]},
                         {<<"ROLE">>,<<"%s">>,[<<"employeeType">>]},
                         {<<"PHOTO">>,<<"%s">>,[<<"jpegPhoto">>]}]},
              matches => 30,search => true}}}]

=== Current directory is "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18"

=== Started at 2024-04-10 12:45:07


*** User 2024-04-10 12:45:07.265 ***🔗
OpenSSL config: /home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert.cfg
HOME            = .
RANDFILE        = $ENV::HOME/.rnd

oid_section = xmpp_oids

####################################################################
[ req ]
default_bits        = 4096
distinguished_name  = client_distinguished_name
req_extensions      = client_req_extensions
string_mask         = utf8only
prompt              = no

####################################################################
[ xmpp_oids ]


####################################################################
[ client_distinguished_name ]
commonName                  = signed_cert

####################################################################
[ client_req_extensions ]

subjectKeyIdentifier        = hash
basicConstraints            = CA:FALSE
keyUsage                    = digitalSignature, keyEncipherment
subjectAltName              = @alternate_names
nsComment                   = "Fake Dev-Only Certificate for GRAPHQL tests"

###############################################################################################################
## subjectAltName sections, see 'man x509v3_config' for more information
## example:
## otherName.1 = id-on-xmppAddr;UTF8:alice@localhost
###############################################################################################################
[ alternate_names ]

email = signed_cert@mail.domain.com ## this is just to have sth in the section


*** User 2024-04-10 12:45:07.390 ***🔗
generate_ca_signed_cert 1:
Cmd ["openssl req -config ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert.cfg",
     " -newkey rsa:2048 -sha256 -nodes -out ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert.csr",
     " -keyout ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert_key.pem",
     " -outform PEM"]
Out Can't load /home/circleci/.rnd into RNG
80FB815BFE7E0000:error:12000079:random number generator:RAND_load_file:Cannot open file:../crypto/rand/randfile.c:106:Filename=/home/circleci/.rnd
..+..+....+.........+..+...+.+........+.+..+.........+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*...+...............+..............+.+..+...+.......+...+......+......+...+.........+..+...+...+...+.+......+........+....+..+.+.........+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*........+.....+.......+........+.+..+...+.+......+...+.....+.+..............+...............+......+.........+.........+............+....+.........+...+..............+................+...+..+.......+..................+...+..+...+.......+..+...+....+...+......+.....+.+...+......+..+.......+..+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
................+....+...+...+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+......+.+...+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*..+...........+......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----


*** User 2024-04-10 12:45:07.407 ***🔗
generate_ca_signed_cert 2:
Cmd ["/home/circleci/project/big_tests/tests/graphql_SUITE_data/sign_cert.sh",
     " --req ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert.csr",
     " --out ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert_cert.pem"]
Out Using configuration from openssl-ca-clients.cnf
Check that the request matches the signature
Signature ok
The Subject's Distinguished Name is as follows
commonName            :ASN.1 12:'signed_cert'
Certificate is to be certified until Jan  5 12:45:07 2027 GMT (1000 days)

Write out database with 1 new entries
Data Base Updated


*** User 2024-04-10 12:45:07.407 ***🔗
OpenSSL config: /home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/selfsigned_cert.cfg
HOME            = .
RANDFILE        = $ENV::HOME/.rnd

oid_section = xmpp_oids

####################################################################
[ req ]
default_bits        = 4096
distinguished_name  = client_distinguished_name
req_extensions      = client_req_extensions
string_mask         = utf8only
prompt              = no

####################################################################
[ xmpp_oids ]


####################################################################
[ client_distinguished_name ]
commonName                  = selfsigned_cert

####################################################################
[ client_req_extensions ]

subjectKeyIdentifier        = hash
basicConstraints            = CA:FALSE
keyUsage                    = digitalSignature, keyEncipherment
subjectAltName              = @alternate_names
nsComment                   = "Fake Dev-Only Certificate for GRAPHQL tests"

###############################################################################################################
## subjectAltName sections, see 'man x509v3_config' for more information
## example:
## otherName.1 = id-on-xmppAddr;UTF8:alice@localhost
###############################################################################################################
[ alternate_names ]

email = selfsigned_cert@mail.domain.com ## this is just to have sth in the section


*** User 2024-04-10 12:45:07.547 ***🔗
generate_self_signed_cert:
Cmd ["openssl req -config ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/selfsigned_cert.cfg",
     " -newkey rsa:2048 -sha256 -nodes -out ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/selfsigned_cert_self_signed_cert.pem",
     " -keyout ",
     "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/selfsigned_cert_key.pem",
     " -x509 -outform PEM -extensions client_req_extensions"]
Out ..+......+.....+....+.....+...+....+.....+.........+.+......+.................+.......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.......+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..+.........+....+........+.......+......+......+.....+.+........+......+.+.....+..........+.....+...+.........+...+.......+..+...+.+..+..........+.....+.......+.................+....+..+.......+...............+..+.+...+.........+..+.+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
....+.....+.........+...+...+............+...+...+.+......+.........+........+.......+..............+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*.+..+.+..+...+......+...+.+......+.........+......+......+..+...+.........+....+.........+......+......+.....+....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*....+...+......+.+......+...+.........+...+..+...+....+...+.....+......+.+........+...+..........+..+.......+......+.....+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
-----




=== Ended at 2024-04-10 12:45:07
=== successfully completed test case
=== === Returned value: [{certificate_selfsigned,
                         #{cert =>
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/selfsigned_cert_self_signed_cert.pem",
                           key =>
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/selfsigned_cert_key.pem"}},
                     {certificate_signed,
                         #{cert =>
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert_cert.pem",
                           key =>
                               "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/signed_cert_key.pem"}},
                     {user_listener_config,
                         #{connection_type => undefined,
                           handlers =>
                               [#{host => '_',
                                  module => mongoose_graphql_handler,
                                  path => "/api/graphql",
                                  schema_endpoint => user,
                                  sse_idle_timeout => 3600000}],
                           ip_address => "0.0.0.0",
                           ip_tuple => {0,0,0,0},
                           ip_version => 4,module => ejabberd_cowboy,
                           port => 5561,proto => tcp,
                           protocol => #{compress => false},
                           transport =>
                               #{max_connections => 1024,
                                 num_acceptors => 10}}},
                     {domain_admin_listener_config,
                         #{connection_type => undefined,
                           handlers =>
                               [#{host => '_',
                                  module => mongoose_graphql_handler,
                                  path => "/api/graphql",
                                  schema_endpoint => domain_admin,
                                  sse_idle_timeout => 3600000}],
                           ip_address => "0.0.0.0",
                           ip_tuple => {0,0,0,0},
                           ip_version => 4,module => ejabberd_cowboy,
                           port => 5541,proto => tcp,
                           protocol => #{compress => false},
                           transport =>
                               #{max_connections => 1024,
                                 num_acceptors => 10}}},
                     {admin_listener_config,
                         #{connection_type => undefined,
                           handlers =>
                               [#{host => "localhost",
                                  module => mongoose_graphql_handler,
                                  password => <<"secret">>,
                                  path => "/api/graphql",
                                  schema_endpoint => admin,
                                  sse_idle_timeout => 3600000,
                                  username => <<"admin">>}],
                           ip_address => "127.0.0.1",
                           ip_tuple => {127,0,0,1},
                           ip_version => 4,module => ejabberd_cowboy,
                           port => 5551,proto => tcp,
                           protocol => #{compress => false},
                           transport =>
                               #{max_connections => 1024,
                                 num_acceptors => 10}}},
                     {watchdog,<0.13672.0>},
                     {preset,"ldap_mnesia"},
                     {mim_data_dir,
                         "/home/circleci/project/big_tests/tests/graphql_SUITE_data"},
                     {tc_logfile,
                         "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/graphql_suite.init_per_group.21891.html"},
                     {tc_group_properties,[{name,tls_enabled},parallel]},
                     {tc_group_path,[]},
                     {data_dir,
                         "/home/circleci/project/big_tests/_build/default/lib/mongoose_tests/ebin/graphql_SUITE_data/"},
                     {priv_dir,
                         "/home/circleci/project/big_tests/ct_report/ct_run.test@03949f4c9d5e.2024-04-10_12.43.18/big_tests.tests.graphql_SUITE.logs/run.2024-04-10_12.45.06/log_private/"},
                     {{saved_modules,mongooseim@localhost,<<"localhost">>},
                      #{mod_adhoc =>
                            #{iqdisc => one_queue,
                              report_commands_node => false},
                        mod_amp => #{},
                        mod_bosh =>
                            #{backend => mnesia,inactivity => 30,
                              max_pause => 120,max_wait => infinity,
                              server_acks => false},
                        mod_cache_users =>
                            #{number_of_segments => 5,strategy => fifo,
                              time_to_live => 2},
                        mod_carboncopy => #{iqdisc => no_queue},
                        mod_disco =>
                            #{extra_domains => [],iqdisc => one_queue,
                              server_info => [],
                              users_can_see_hidden_services => false},
                        mod_presence => #{},
                        mod_register =>
                            #{access => register,
                              ip_access =>
                                  [{allow,"127.0.0.0/8"},{deny,"0.0.0.0/0"}],
                              iqdisc => one_queue,password_strength => 0,
                              registration_watchers => []},
                        mod_roster =>
                            #{backend => mnesia,iqdisc => one_queue,
                              store_current_id => false,versioning => false},
                        mod_sic => #{iqdisc => one_queue},
                        mod_stream_management =>
                            #{ack => true,ack_freq => 1,backend => mnesia,
                              buffer => true,buffer_max => 100,
                              resume_timeout => 600,
                              stale_h =>
                                  #{enabled => false,geriatric => 3600,
                                    repeat_after => 1800}},
                        mod_vcard =>
                            #{backend => ldap,
                              host => {prefix,<<"vjud.">>},
                              iqdisc => parallel,
                              ldap =>
                                  #{base => <<"ou=Users,dc=esl,dc=com">>,
                                    binary_search_fields => [],deref => never,
                                    filter =>
                                        <<"(objectClass=inetOrgPerson)">>,
                                    pool_tag => default,
                                    search_fields =>
                                        [{<<"User">>,<<"%u">>},
                                         {<<"Full Name">>,<<"displayName">>},
                                         {<<"Given Name">>,<<"givenName">>},
                                         {<<"Middle Name">>,<<"initials">>},
                                         {<<"Family Name">>,<<"sn">>},
                                         {<<"Nickname">>,<<"%u">>},
                                         {<<"Birthday">>,<<"birthDay">>},
                                         {<<"Country">>,<<"c">>},
                                         {<<"City">>,<<"l">>},
                                         {<<"Email">>,<<"mail">>},
                                         {<<"Organization Name">>,<<"o">>},
                                         {<<"Organization Unit">>,<<"ou">>}],
                                    search_operator => 'and',
                                    search_reported =>
                                        [{<<"Full Name">>,<<"FN">>},
                                         {<<"Given Name">>,<<"FIRST">>},
                                         {<<"Middle Name">>,<<"MIDDLE">>},
                                         {<<"Family Name">>,<<"LAST">>},
                                         {<<"Nickname">>,<<"NICK">>},
                                         {<<"Birthday">>,<<"BDAY">>},
                                         {<<"Country">>,<<"CTRY">>},
                                         {<<"City">>,<<"LOCALITY">>},
                                         {<<"Email">>,<<"EMAIL">>},
                                         {<<"Organization Name">>,
                                          <<"ORGNAME">>},
                                         {<<"Organization Unit">>,
                                          <<"ORGUNIT">>}],
                                    uids => [{<<"uid">>,<<"%u">>}],
                                    vcard_map =>
                                        [{<<"NICKNAME">>,<<"%u">>,[]},
                                         {<<"FN">>,<<"%s">>,
                                          [<<"displayName">>]},
                                         {<<"FAMILY">>,<<"%s">>,[<<"sn">>]},
                                         {<<"GIVEN">>,<<"%s">>,
                                          [<<"givenName">>]},
                                         {<<"MIDDLE">>,<<"%s">>,
                                          [<<"initials">>]},
                                         {<<"ORGNAME">>,<<"%s">>,[<<"o">>]},
                                         {<<"ORGUNIT">>,<<"%s">>,[<<"ou">>]},
                                         {<<"CTRY">>,<<"%s">>,[<<"c">>]},
                                         {<<"LOCALITY">>,<<"%s">>,[<<"l">>]},
                                         {<<"STREET">>,<<"%s">>,
                                          [<<"street">>]},
                                         {<<"REGION">>,<<"%s">>,[<<"st">>]},
                                         {<<"PCODE">>,<<"%s">>,
                                          [<<"postalCode">>]},
                                         {<<"TITLE">>,<<"%s">>,[<<"title">>]},
                                         {<<"URL">>,<<"%s">>,
                                          [<<"labeleduri">>]},
                                         {<<"DESC">>,<<"%s">>,
                                          [<<"description">>]},
                                         {<<"TEL">>,<<"%s">>,
                                          [<<"telephoneNumber">>]},
                                         {<<"EMAIL">>,<<"%s">>,[<<"mail">>]},
                                         {<<"BDAY">>,<<"%s">>,
                                          [<<"birthDay">>]},
                                         {<<"ROLE">>,<<"%s">>,
                                          [<<"employeeType">>]},
                                         {<<"PHOTO">>,<<"%s">>,
                                          [<<"jpegPhoto">>]}]},
                              matches => 30,search => true}}}]


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