Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Common tests failing #2

Open
MarkoMin opened this issue Jan 9, 2024 · 0 comments
Open

Common tests failing #2

MarkoMin opened this issue Jan 9, 2024 · 0 comments

Comments

@MarkoMin
Copy link

MarkoMin commented Jan 9, 2024

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant