[erlang-questions] [Newbie] Failed/Skipped Erlang tests question...

Plug Gulp plug.gulp@REDACTED
Sun Jun 21 19:11:07 CEST 2015


Hi,

I am new to Erlang. I am running Ubuntu 15.04 on my laptop at home and
connect to wifi using dhcp. I built Erlang from Git repo using the
following command:

./otp_build setup -a --prefix=$HOME/Erlang/install
--with-libatomic_ops=$HOME/Erlang/libatomic_ops

Then I built the testsuite using:

./otp_build tests $HOME/Erlang/tests

And then ran the tests using following command:

$ERL_TOP/bin/erl -s ts install -s ts smoke_test batch -s init stop

I get some test failures and some tests are skipped. How do I make
these tests pass or are the results expected? The failed and skipped
test logs are as follows:


tests.kernel_test.inet_SUITE.cases
==========================

=case          inet_SUITE:t_gethostbyaddr
=logfile       inet_suite.t_gethostbyaddr.html
=started       2015-06-21 05:30:07
=ended         2015-06-21 05:30:07
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv4_only}}

=case          inet_SUITE:t_gethostbyname
=logfile       inet_suite.t_gethostbyname.html
=started       2015-06-21 05:30:07
=ended         2015-06-21 05:30:07
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv4_only}}

=case          inet_SUITE:t_gethostbyaddr_v6
=logfile       inet_suite.t_gethostbyaddr_v6.html
=started       2015-06-21 05:30:07
=ended         2015-06-21 05:30:07
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv6_only}}

=case          inet_SUITE:t_gethostbyname_v6
=logfile       inet_suite.t_gethostbyname_v6.html
=started       2015-06-21 05:30:07
=ended         2015-06-21 05:30:07
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv6_only}}


tests.kernel_test.inet_res_SUITE.cases
=============================

=case          inet_res_SUITE:gethostbyaddr
=logfile       inet_res_suite.gethostbyaddr.html
=started       2015-06-21 05:30:09
=ended         2015-06-21 05:30:09
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv4_only}}

=case          inet_res_SUITE:gethostbyname
=logfile       inet_res_suite.gethostbyname.html
=started       2015-06-21 05:30:09
=ended         2015-06-21 05:30:10
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv4_only}}

=case          inet_res_SUITE:gethostbyaddr_v6
=logfile       inet_res_suite.gethostbyaddr_v6.html
=started       2015-06-21 05:30:10
=ended         2015-06-21 05:30:10
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv6_only}}

=case          inet_res_SUITE:gethostbyname_v6
=logfile       inet_res_suite.gethostbyname_v6.html
=started       2015-06-21 05:30:10
=ended         2015-06-21 05:30:10
=result        auto_skipped: {require_failed,
                                 {not_available,test_host_ipv6_only}}

=case          inet_res_SUITE:basic
=logfile       inet_res_suite.basic.html
=started       2015-06-21 05:30:10
=ended         2015-06-21 05:30:10
=result        skipped: "Name server not found!"


tests.system_test.ethread_SUITE
=========================

=case          ethread_SUITE:max_threads
=started       2015-06-21 05:31:41
=result        skipped: Skip


tests.emulator_test.time_SUITE
=======================

=case          time_SUITE:univ_to_local
=logfile       time_suite.univ_to_local.html
=started       2015-06-21 05:29:56
=ended         2015-06-21 05:29:56
=result        failed: {{badmatch,{{1996,1,30},{12,45,7}}},
                        [{time_SUITE,test_univ_to_local,1,
                                     [{file,"time_SUITE.erl"},{line,123}]},
                         {test_server,ts_tc,3,
                                      [{file,"test_server.erl"},{line,1450}]},
                         {test_server,run_test_case_eval1,6,
                                      [{file,"test_server.erl"},{line,1026}]},
                         {test_server,run_test_case_eval,9,

[{file,"test_server.erl"},{line,968}]}]}, [{time_SUITE,

           test_univ_to_local,

           123},

          {test_server,

           ts_tc,

           1450},

          {test_server,

           run_test_case_eval1,

           1026},

          {test_server,

           run_test_case_eval,

           968}]

=case          time_SUITE:local_to_univ
=logfile       time_suite.local_to_univ.html
=started       2015-06-21 05:29:56
=ended         2015-06-21 05:29:56
=result        failed: {{badmatch,{{1996,1,30},{13,45,7}}},
                        [{time_SUITE,test_local_to_univ,1,
                                     [{file,"time_SUITE.erl"},{line,135}]},
                         {test_server,ts_tc,3,
                                      [{file,"test_server.erl"},{line,1450}]},
                         {test_server,run_test_case_eval1,6,
                                      [{file,"test_server.erl"},{line,1026}]},
                         {test_server,run_test_case_eval,9,

[{file,"test_server.erl"},{line,968}]}]}, [{time_SUITE,

           test_local_to_univ,

           135},

          {test_server,

           ts_tc,

           1450},

          {test_server,

           run_test_case_eval1,

           1026},

          {test_server,

           run_test_case_eval,

           968}]

=case          time_SUITE:consistency
=logfile       time_suite.consistency.html
=started       2015-06-21 05:29:57
=ended         2015-06-21 05:29:57
=result        failed: {{badmatch,error},
                        [{time_SUITE,consistency,1,
                                     [{file,"time_SUITE.erl"},{line,209}]},
                         {test_server,ts_tc,3,
                                      [{file,"test_server.erl"},{line,1450}]},
                         {test_server,run_test_case_eval1,6,
                                      [{file,"test_server.erl"},{line,1026}]},
                         {test_server,run_test_case_eval,9,

[{file,"test_server.erl"},{line,968}]}]}, [{time_SUITE,

           consistency,

           209},

          {test_server,

           ts_tc,

           1450},

          {test_server,

           run_test_case_eval1,

           1026},

          {test_server,

           run_test_case_eval,

           968}]

Kind regards,

~Plug



More information about the erlang-questions mailing list