processone / ejabberd

Robust, Ubiquitous and Massively Scalable Messaging Platform (XMPP, MQTT, SIP Server)
https://www.process-one.net/ejabberd/
Other
6.12k stars 1.51k forks source link

Problem starting the module mod_muc for host localhost (riak tests). #2008

Closed dmitri-anghiloglu closed 7 years ago

dmitri-anghiloglu commented 7 years ago

What version of ejabberd are you using?

17.08

What operating system (version) are you using?

macOS Sierra 10.12.4

How did you install ejabberd (source, package, distribution)?

source, OTP 18.3.4

What did not work as expected? Are there error messages in the log? What

I try to run tests for ejabberd on localhost. What i did? Step by step: I checked out ejabberd version 17.08.

export LDFLAGS="-L/usr/local/opt/openssl/lib -L/usr/local/lib -L/usr/local/opt/expat/lib"
export CFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include"
export CPPFLAGS="-I/usr/local/opt/openssl/include/ -I/usr/local/include -I/usr/local/opt/expat/include"

./autogen.sh && ./configure --enable-elixir --enable-tools --enable-riak --disable-odbc && make

Checked out riak 2.2.3 source and setup local cluster 3 nodes. riak is setup to use leveldb backend. Added to each riak advanced.config path to ejabberd beam files. riak db is clean and tested, it works as well.

[{lager,
   [
      {extra_sinks,
           [
            {object_lager_event,
             [{handlers,
               [{lager_file_backend,
                 [{file, "./log/object.log"},
                  {level, info},
                  {formatter_config, [date, " ", time," [",severity,"] ",message, "\n"]}
                 ]
                }]
              },
              {async_threshold, 500},
              {async_threshold_window, 50}]
            }
            ]
      }
    ]
},
 {riak_kv,
        [
         {add_paths, ["/Users/Dima/Development/youchat/ej1/ebin"]}
        ]
 }].

Run test for riak db CT_BACKENDS=riak rebar ct -v suites=ejabberd groups=riak

was the unexpected behaviour? What was the expected result? I expect the test should complete successfully, but i got error Full log


Dimas-MBP:ej1 Dima$ CT_BACKENDS=riak rebar ct -v  suites=ejabberd groups=riak
INFO:  Looking for lager-.* ; found lager-3.4.2 at /Users/Dima/Development/youchat/ej1/deps/lager
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for cache_tab-.* ; found cache_tab-1.0.10 at /Users/Dima/Development/youchat/ej1/deps/cache_tab
INFO:  Looking for fast_tls-.* ; found fast_tls-1.0.15 at /Users/Dima/Development/youchat/ej1/deps/fast_tls
INFO:  Looking for stringprep-.* ; found stringprep-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/stringprep
INFO:  Looking for fast_xml-.* ; found fast_xml-1.1.23 at /Users/Dima/Development/youchat/ej1/deps/fast_xml
INFO:  Looking for xmpp-.* ; found xmpp-1.1.14 at /Users/Dima/Development/youchat/ej1/deps/xmpp
INFO:  Looking for fast_yaml-.* ; found fast_yaml-1.0.10 at /Users/Dima/Development/youchat/ej1/deps/fast_yaml
INFO:  sh info:
cwd: "/Users/Dima/Development/youchat/ej1"
cmd: git describe --always --tags
INFO:  Looking for jiffy-.* ; found jiffy-0.14.8 at /Users/Dima/Development/youchat/ej1/deps/jiffy
INFO:  Looking for p1_oauth2-.* ; found p1_oauth2-0.6.2 at /Users/Dima/Development/youchat/ej1/deps/p1_oauth2
INFO:  Looking for luerl-.* ; found luerl-1 at /Users/Dima/Development/youchat/ej1/deps/luerl
INFO:  Looking for ezlib-.* ; found ezlib-1.0.2 at /Users/Dima/Development/youchat/ej1/deps/ezlib
INFO:  sh info:
cwd: "/Users/Dima/Development/youchat/ej1"
cmd: git describe --always --tags
INFO:  Looking for riakc-.* ; found riakc-2.4.1 at /Users/Dima/Development/youchat/ej1/deps/riakc
INFO:  Looking for elixir-.* ; found elixir-1.4.4 at /Users/Dima/Development/youchat/ej1/deps/elixir
INFO:  Looking for rebar_elixir_plugin-.* ; found rebar_elixir_plugin-0.1.0 at /Users/Dima/Development/youchat/ej1/deps/rebar_elixir_plugin
INFO:  Looking for iconv-.* ; found iconv-1.0.5 at /Users/Dima/Development/youchat/ej1/deps/iconv
INFO:  Looking for meck-0.8.* ; found meck-0.8.4 at /Users/Dima/Development/youchat/ej1/deps/meck
INFO:  Looking for moka-.* ; found moka-1.0.5c at /Users/Dima/Development/youchat/ej1/deps/moka
INFO:  Looking for lager-.* ; found lager-3.4.2 at /Users/Dima/Development/youchat/ej1/deps/lager
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for cache_tab-.* ; found cache_tab-1.0.10 at /Users/Dima/Development/youchat/ej1/deps/cache_tab
INFO:  Looking for fast_tls-.* ; found fast_tls-1.0.15 at /Users/Dima/Development/youchat/ej1/deps/fast_tls
INFO:  Looking for stringprep-.* ; found stringprep-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/stringprep
INFO:  Looking for fast_xml-.* ; found fast_xml-1.1.23 at /Users/Dima/Development/youchat/ej1/deps/fast_xml
INFO:  Looking for xmpp-.* ; found xmpp-1.1.14 at /Users/Dima/Development/youchat/ej1/deps/xmpp
INFO:  Looking for fast_yaml-.* ; found fast_yaml-1.0.10 at /Users/Dima/Development/youchat/ej1/deps/fast_yaml
INFO:  Looking for jiffy-.* ; found jiffy-0.14.8 at /Users/Dima/Development/youchat/ej1/deps/jiffy
INFO:  Looking for p1_oauth2-.* ; found p1_oauth2-0.6.2 at /Users/Dima/Development/youchat/ej1/deps/p1_oauth2
INFO:  Looking for luerl-.* ; found luerl-1 at /Users/Dima/Development/youchat/ej1/deps/luerl
INFO:  Looking for ezlib-.* ; found ezlib-1.0.2 at /Users/Dima/Development/youchat/ej1/deps/ezlib
INFO:  Looking for riakc-.* ; found riakc-2.4.1 at /Users/Dima/Development/youchat/ej1/deps/riakc
INFO:  Looking for elixir-.* ; found elixir-1.4.4 at /Users/Dima/Development/youchat/ej1/deps/elixir
INFO:  Looking for rebar_elixir_plugin-.* ; found rebar_elixir_plugin-0.1.0 at /Users/Dima/Development/youchat/ej1/deps/rebar_elixir_plugin
INFO:  Looking for iconv-.* ; found iconv-1.0.5 at /Users/Dima/Development/youchat/ej1/deps/iconv
INFO:  Looking for meck-0.8.* ; found meck-0.8.4 at /Users/Dima/Development/youchat/ej1/deps/meck
INFO:  Looking for moka-.* ; found moka-1.0.5c at /Users/Dima/Development/youchat/ej1/deps/moka
INFO:  Loading plugin override_deps_versions from /Users/Dima/Development/youchat/ej1/plugins/override_deps_versions.erl
INFO:  Loading plugin deps_erl_opts from /Users/Dima/Development/youchat/ej1/plugins/deps_erl_opts.erl
INFO:  Looking for goldrush-.* ; found goldrush-0.1.9 at /Users/Dima/Development/youchat/ej1/deps/goldrush
INFO:  Looking for goldrush-.* ; found goldrush-0.1.9 at /Users/Dima/Development/youchat/ej1/deps/goldrush
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for fast_xml-.* ; found fast_xml-1.1.23 at /Users/Dima/Development/youchat/ej1/deps/fast_xml
INFO:  Looking for stringprep-.* ; found stringprep-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/stringprep
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for fast_xml-.* ; found fast_xml-1.1.23 at /Users/Dima/Development/youchat/ej1/deps/fast_xml
INFO:  Looking for stringprep-.* ; found stringprep-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/stringprep
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Loading plugin rebar_gdb_plugin from /Users/Dima/Development/youchat/ej1/deps/jiffy/plugins/rebar_gdb_plugin.erl
WARN:  Missing plugins: [rebar3_hex]
INFO:  sh info:
cwd: "/Users/Dima/Development/youchat/ej1/deps/riakc"
cmd: git describe --always --tags
INFO:  Looking for riak_pb-2.1.* ; found riak_pb-2.1.4.1 at /Users/Dima/Development/youchat/ej1/deps/riak_pb
INFO:  Looking for riak_pb-2.1.* ; found riak_pb-2.1.4.1 at /Users/Dima/Development/youchat/ej1/deps/riak_pb
INFO:  sh info:
cwd: "/Users/Dima/Development/youchat/ej1/deps/riak_pb"
cmd: git describe --always --tags
INFO:  Looking for protobuffs-0.8.* ; found protobuffs-0.8.4 at /Users/Dima/Development/youchat/ej1/deps/protobuffs
INFO:  Looking for hamcrest-0.3.* ; found hamcrest-0.3.0-basho at /Users/Dima/Development/youchat/ej1/deps/hamcrest
INFO:  Looking for protobuffs-0.8.* ; found protobuffs-0.8.4 at /Users/Dima/Development/youchat/ej1/deps/protobuffs
INFO:  Looking for hamcrest-0.3.* ; found hamcrest-0.3.0-basho at /Users/Dima/Development/youchat/ej1/deps/hamcrest
INFO:  Loading plugin riak_pb_msgcodegen from plugins/riak_pb_msgcodegen.erl
INFO:  Looking for meck-0.8.* ; found meck-0.8.4 at /Users/Dima/Development/youchat/ej1/deps/meck
INFO:  Looking for meck-0.8.* ; found meck-0.8.4 at /Users/Dima/Development/youchat/ej1/deps/meck
INFO:  Loading plugin header_generator from priv/build/plugins/header_generator.erl
INFO:  Loading plugin eqc_resolver from priv/build/plugins/eqc_resolver.erl
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for p1_utils-.* ; found p1_utils-1.0.9 at /Users/Dima/Development/youchat/ej1/deps/p1_utils
INFO:  Looking for samerlib-.* ; found samerlib-0.8.0c at /Users/Dima/Development/youchat/ej1/deps/samerlib
INFO:  Looking for samerlib-.* ; found samerlib-0.8.0c at /Users/Dima/Development/youchat/ej1/deps/samerlib
==> ej1 (ct)
INFO:  sh info:
cwd: "/Users/Dima/Development/youchat/ej1"
cmd: ct_run -noshell -pa "/Users/Dima/Development/youchat/ej1/ebin" "/Users/Dima/Development/youchat/ej1/deps/samerlib/ebin" "/Users/Dima/Development/youchat/ej1/deps/p1_utils/ebin" "/Users/Dima/Development/youchat/ej1/deps/meck/ebin" "/Users/Dima/Development/youchat/ej1/deps/hamcrest/ebin" "/Users/Dima/Development/youchat/ej1/deps/protobuffs/ebin" "/Users/Dima/Development/youchat/ej1/deps/riak_pb/ebin" "/Users/Dima/Development/youchat/ej1/deps/stringprep/ebin" "/Users/Dima/Development/youchat/ej1/deps/fast_xml/ebin" "/Users/Dima/Development/youchat/ej1/deps/goldrush/ebin" "/Users/Dima/Development/youchat/ej1/deps/moka/ebin" "/Users/Dima/Development/youchat/ej1/deps/iconv/ebin" "/Users/Dima/Development/youchat/ej1/deps/rebar_elixir_plugin/ebin" "/Users/Dima/Development/youchat/ej1/deps/elixir/ebin" "/Users/Dima/Development/youchat/ej1/deps/riakc/ebin" "/Users/Dima/Development/youchat/ej1/deps/ezlib/ebin" "/Users/Dima/Development/youchat/ej1/deps/luerl/ebin" "/Users/Dima/Development/youchat/ej1/deps/p1_oauth2/ebin" "/Users/Dima/Development/youchat/ej1/deps/jiffy/ebin" "/Users/Dima/Development/youchat/ej1/deps/fast_yaml/ebin" "/Users/Dima/Development/youchat/ej1/deps/xmpp/ebin" "/Users/Dima/Development/youchat/ej1/deps/fast_tls/ebin" "/Users/Dima/Development/youchat/ej1/deps/cache_tab/ebin" "/Users/Dima/Development/youchat/ej1/deps/lager/ebin" "/Users/Dima/Development/youchat/ej1/deps/elixir/lib/mix/ebin" "/Users/Dima/Development/youchat/ej1/deps/elixir/lib/logger/ebin" "/Users/Dima/Development/youchat/ej1/deps/elixir/lib/iex/ebin" "/Users/Dima/Development/youchat/ej1/deps/elixir/lib/ex_unit/ebin" "/Users/Dima/Development/youchat/ej1/deps/elixir/lib/elixir/ebin" "/Users/Dima/Development/youchat/ej1/deps/elixir/lib/eex/ebin" "/usr/local/bin/rebar/rebar/ebin" "/usr/local/Cellar/rebar/2.6.4/bin/rebar" "/Users/Dima/Development/youchat/ej1/."  -include "/Users/Dima/Development/youchat/ej1/include"  -name test6849@Dimas-MBP -logdir "/Users/Dima/Development/youchat/ej1/logs" -env TEST_DIR "/Users/Dima/Development/youchat/ej1/test" -cover /Users/Dima/Development/youchat/ej1/cover.spec  -suite test/ejabberd_SUITE.erl -group riak -ct_hooks cth_surefire  -include /Users/Dima/Development/youchat/ej1/tools -include /Users/Dima/Development/youchat/ej1/include -include /Users/Dima/Development/youchat/ej1/deps/p1_utils/include -include /Users/Dima/Development/youchat/ej1/deps/fast_xml/include -include /Users/Dima/Development/youchat/ej1/deps/xmpp/include  2>&1 | tee -a /Users/Dima/Development/youchat/ej1/logs/raw.log
Converting "/Users/Dima/Development/youchat/ej1/." to "/Users/Dima/Development/youchat/ej1" and re-inserting with add_patha/1

Common Test v1.12.1 starting (cwd is /Users/Dima/Development/youchat/ej1)

Common Test: Running make in test directories... Including the following directories: "/Users/Dima/Development/youchat/ej1/include" "/Users/Dima/Development/youchat/ej1/tools" "/Users/Dima/Development/youchat/ej1/include" "/Users/Dima/Development/youchat/ej1/deps/p1_utils/include" "/Users/Dima/Development/youchat/ej1/deps/fast_xml/include" "/Users/Dima/Development/youchat/ej1/deps/xmpp/include"

CWD set to: "/Users/Dima/Development/youchat/ej1/logs/ct_run.test6849@Dimas-MBP.2017-09-22_16.14.36"

TEST INFO: 1 test(s), 166 case(s) in 1 suite(s)

Cover compiling 262 modules - this may take some time... done

Testing youchat.ej1.ejabberd_SUITE.groups: Starting test, 166 test cases

=INFO REPORT==== 22-Sep-2017::16:14:43 === LDIF tree loaded, ready to accept connections16:14:43.836 [info] Application lager started on node 'test6849@Dimas-MBP' 16:14:43.834 [notice] Changed loghwm of /Users/Dima/Development/youchat/ej1/logs/ct_run.test6849@Dimas-MBP.2017-09-22_16.14.36/youchat.ej1.ejabberd_SUITE.groups.logs/run.2017-09-22_16.14.43/log_private/error.log to 100 16:14:43.834 [notice] Changed loghwm of /Users/Dima/Development/youchat/ej1/logs/ct_run.test6849@Dimas-MBP.2017-09-22_16.14.36/youchat.ej1.ejabberd_SUITE.groups.logs/run.2017-09-22_16.14.43/log_private/ejabberd.log to 100 16:14:43.844 [info] Application crypto started on node 'test6849@Dimas-MBP' 16:14:43.859 [info] Application sasl started on node 'test6849@Dimas-MBP' 16:14:43.878 [info] Application asn1 started on node 'test6849@Dimas-MBP' 16:14:43.878 [info] Application public_key started on node 'test6849@Dimas-MBP' 16:14:43.898 [info] Application ssl started on node 'test6849@Dimas-MBP' 16:14:43.908 [info] Application p1_utils started on node 'test6849@Dimas-MBP' 16:14:43.920 [info] Application fast_yaml started on node 'test6849@Dimas-MBP' 16:14:43.934 [info] Application fast_tls started on node 'test6849@Dimas-MBP' 16:14:43.955 [info] Application fast_xml started on node 'test6849@Dimas-MBP' 16:14:43.966 [info] Application stringprep started on node 'test6849@Dimas-MBP' 16:14:43.971 [info] Application xmpp started on node 'test6849@Dimas-MBP' 16:14:43.981 [info] Application cache_tab started on node 'test6849@Dimas-MBP' 16:14:43.996 [info] Application elixir started on node 'test6849@Dimas-MBP' 16:14:44.010 [info] Loading configuration from /Users/Dima/Development/youchat/ej1/logs/ct_run.test6849@Dimas-MBP.2017-09-22_16.14.36/ejabberd.yml 16:14:44.283 [info] Application mnesia started on node 'test6849@Dimas-MBP' 16:14:44.294 [info] FQDN used to check DIGEST-MD5 SASL authentication: localhost 16:14:44.298 [info] Building translation cache, this may take a while 16:14:44.863 [info] Creating Mnesia table 'ejabberd_commands' 16:14:44.927 [info] Creating Mnesia table 's2s' 16:14:44.935 [info] Creating Mnesia table 'temporarily_blocked' 16:14:44.945 [info] Creating Mnesia table 'acl' 16:14:44.951 [info] Creating Mnesia table 'access' 16:14:44.959 [info] Creating Mnesia table 'shaper' 16:14:44.976 [info] Application protobuffs started on node 'test6849@Dimas-MBP' 16:14:44.976 [info] Application riak_pb started on node 'test6849@Dimas-MBP' 16:14:44.976 [info] Application riakc started on node 'test6849@Dimas-MBP' 16:14:45.024 [info] Creating Mnesia table 'route' 16:14:45.029 [info] Creating Mnesia table 'route_multicast' 16:14:45.036 [info] Creating Mnesia table 'iq_response' 16:14:45.047 [info] Creating Mnesia table 'session' 16:14:45.055 [info] Creating Mnesia table 'session_counter' 16:14:45.304 [info] Application inets started on node 'test6849@Dimas-MBP' 16:14:45.305 [warning] module 'mod_mam' is recommended for module 'mod_muc' but is not found in the config 16:14:45.309 [info] Creating Mnesia table 'mod_register_ip' 16:14:45.316 [info] Creating Mnesia table 'muc_online_room' 16:14:45.324 [warning] No certificate found matching 'conference.riak.localhost': strictly configured clients or servers will reject connections with this host 16:14:45.428 [info] Creating Mnesia table 'bytestream' 16:14:45.436 [warning] No certificate found matching 'proxy.riak.localhost': strictly configured clients or servers will reject connections with this host 16:14:45.452 [warning] module 'mod_last' is recommended for module 'mod_configure' but is not found in the config 16:14:45.452 [warning] module 'mod_mam' is recommended for module 'mod_muc' but is not found in the config 16:14:45.453 [error] CRASH REPORT Process <0.2232.0> with 0 neighbours exited with reason: {aborted,{no_exists,[muc_room,[{{mucroom,{'',<<"conference.localhost">>},''},[],['$']}]]}} in gen_server:init_it/6 line 352 16:14:45.454 [critical] Problem starting the module mod_muc for host localhost options: [] error: {error, {{aborted, {no_exists, [muc_room, [{{mucroom,{'',<<"conference.localhost">>},''}, [], ['$']}]]}}, {child,undefined,mod_muc_localhost, {gen_server,start_link, [{local,mod_muc_localhost}, mod_muc, [<<"localhost">>,[]], []]}, transient,60000,worker, [mod_muc]}}} [{gen_mod,start_module,4,[{file,"src/gen_mod.erl"},{line,203}]}, {lists,foreach,2,[{file,"lists.erl"},{line,1337}]}, {gen_mod,start_link,0,[{file,"src/gen_mod.erl"},{line,79}]}, {supervisor,do_start_child,2,[{file,"supervisor.erl"},{line,358}]}, {supervisor,start_children,3,[{file,"supervisor.erl"},{line,341}]}, {supervisor,init_children,2,[{file,"supervisor.erl"},{line,307}]}, {gen_server,init_it,6,[{file,"gen_server.erl"},{line,328}]}, {proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,240}]}] 16:14:45.454 [critical] ejabberd initialization was aborted because a module start failed.

DONE.


If I run test for mnesia
`CT_BACKENDS=mnesia rebar ct -v  suites=ejabberd groups=mnesia`
everything is ok.

Please help to resolve this issues. Thank you.
dmitri-anghiloglu commented 7 years ago

I used this

CT_BACKENDS=mnesia,riak rebar ct -v suites=ejabberd

The error with mod_muc disappeared. But I got the result: 541 Ok, 1 Failed, 849 Skipped of 1391

I try to understand why the test has failed, I didn't change anything.


=== Test case: ejabberd_SUITE:test_connect_missing_to/1 (click for source code)

=== Config value:

    [{anonymous,true},
     {event_relay,<0.2430.0>},
     {watchdog,<0.2429.0>},
     {persistent_room,false},
     {server_port,5222},
     {server_host,"localhost"},
     {component_port,5270},
     {s2s_port,5269},
     {server,<<"localhost">>},
     {user,<<"test_single!#$%^*()`~+-;_=[]{}|\\">>},
     {nick,<<"nick!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {master_nick,<<"master_nick!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {slave_nick,<<"slave_nick!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {room_subject,<<"hello, world!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {certfile,"/Users/Dima/Development/youchat/ej1/test/ejabberd_SUITE_data/cert.pem"},
     {type,client},
     {xmlns,<<"jabber:client">>},
     {ns_stream,<<"http://etherx.jabber.org/streams">>},
     {stream_version,{1,0}},
     {stream_id,<<>>},
     {stream_from,<<>>},
     {db_xmlns,<<>>},
     {mechs,[]},
     {rosterver,false},
     {lang,<<"en">>},
     {base_dir,"/Users/Dima/Development/youchat/ej1"},
     {socket,undefined},
     {pubsub_node,<<"node!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {pubsub_node_title,<<"title!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {resource,<<"resource!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {master_resource,<<"master_resource!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {slave_resource,<<"slave_resource!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {password,<<"password!@#$%^&*()'\"`~<>+-/;:_=[]{}|\\">>},
     {backends,["mnesia","riak"]},
     {tc_logfile,"/Users/Dima/Development/youchat/ej1/logs/ct_run.test8698@Dimas-MBP.2017-09-25_14.20.11/youchat.ej1.ejabberd_SUITE.logs/run.2017-09-25_14.20.17/ejabberd_suite.test_connect_missing_to.452.html"},
     {tc_group_properties,[{name,anonymous},parallel]},
     {tc_group_path,[[{name,no_db},sequence]]},
     {data_dir,"/Users/Dima/Development/youchat/ej1/test/ejabberd_SUITE_data/"},
     {priv_dir,"/Users/Dima/Development/youchat/ej1/logs/ct_run.test8698@Dimas-MBP.2017-09-25_14.20.11/youchat.ej1.ejabberd_SUITE.logs/run.2017-09-25_14.20.17/log_private/"}]

=== Current directory is "/Users/Dima/Development/youchat/ej1/logs/ct_run.test8698@Dimas-MBP.2017-09-25_14.20.11"

=== Started at 2017-09-25 14:20:19

*** CT Error Notification 2017-09-25 14:20:19.783 ***
suite:tcp_connect failed on line 200
Reason: {badmatch,{error,econnreset}}

Full error description and stacktrace

=== Ended at 2017-09-25 14:20:19
=== Location: [{suite,tcp_connect,200},
              {suite,init_stream,212},
              {ejabberd_SUITE,test_connect_missing_to,612},
              {test_server,ts_tc,1533},
              {test_server,run_test_case_eval1,1053},
              {test_server,run_test_case_eval,985}]
=== Reason: no match of right hand side value {error,econnreset}
  in function  suite:tcp_connect/1 (suite.erl, line 200)
  in call from suite:init_stream/1 (suite.erl, line 212)
  in call from ejabberd_SUITE:test_connect_missing_to/1 (ejabberd_SUITE.erl, line 612)
  in call from test_server:ts_tc/3 (test_server.erl, line 1533)
  in call from test_server:run_test_case_eval1/6 (test_server.erl, line 1053)
  in call from test_server:run_test_case_eval/9 (test_server.erl, line 985)
dmitri-anghiloglu commented 7 years ago

Just checkout another version in different path and repeated steps. All tests passed.

lock[bot] commented 5 years ago

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.