Skip to content

Common tests failing #2

@MarkoMin

Description

@MarkoMin

I'm trying to build a Nix package for this repo, but I can't get common tests to work. Testcase els_dap_general_provider_SUITE:configuration_done_with_breakpoint/1 is failing.

First I've got syntax error about erlang_ls config which is caused by a comment (after I remove comments it works):

The erlang_ls.config file at <...>/.config/erlang_ls/erlang_ls.config can't be read ({invalid_config,
                                                                                           {error,
                                                                                            {1,
                                                                                             erl_parse,
                                                                                             ["syntax error before: ",
                                                                                              "Rebar"]}}}) Need help configuring Erlang LS for your project? Visit: https://erlang-ls.github.io/configuration/

After that I've got lots of:

Trying to connect to node 'els_dap_general_provider_SUITE-576460752303423486@localhost' (1/30)

and testcase eventually fails with a timetrap. epmd is working because I can still see names after the testcase (epmd -names).

Finally, lots of these errors are printed:

Error in process <0.179.0> on node 'els_dap_general_provider_SUITE-576460752303423387@nixos' with exit value:
{badarg,[{io,fwrite,
             [<<"~ts\n">>,
              [[<<"*** ">>,
                [84,101,114,109,105,110,97,116,105,110,103,32,101,114,108,97,
                 110,103,32,40,
                 "'els_dap_general_provider_SUITE-576460752303423387@nixos'",
                 41]]]],
             [{file,"io.erl"},
              {line,103},
              {error_info,#{cause => {device,epipe},
                            module => erl_stdlib_errors}}]},
         {shell,server_loop,8,[{file,"shell.erl"},{line,266}]}]}

I've got very similar error while trying to build erlang-ls v0.48.0 with Erlang OTP 26 which was fixed in v0.49.0, so problem is probably very similar.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions