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

Unable to trace common_test module #183

Open
bhuvanplus opened this issue Mar 11, 2023 · 0 comments
Open

Unable to trace common_test module #183

bhuvanplus opened this issue Mar 11, 2023 · 0 comments

Comments

@bhuvanplus
Copy link

bhuvanplus commented Mar 11, 2023

I am trying to trace/debug ct_netconfc module in order to understand its internals.

I tried the ErlyBerly tracing application as mentioned below. But I could not Trace the module. Please help me resolve the issue.

Setup

I started a Erlang shell and started the test command make common_test_test ARGS="-suite ct_netconfc_SUITE" as follows.

bhuvan@vm-alarm:~/git/otp$ erl -sname node1

(node1@vm-alarm)1> os:cmd("make common_test_test ARGS=\"-suite ct_netconfc_SUITE\"").
[32,77,65,75,69,9,99,111,109,109,111,110,95,116,101,115,116,
 10,109,97,107,101,91,49,93,58,32,69,110|...]

I started ErlyBerly application as follows.

bhuvan@vm-alarm:~/git/erlyberly$ java -jar target/*runnable.jar

As the test command make common_test_test ARGS="-suite ct_netconfc_SUITE" continue to execute, I see three different nodes listed in the ErlyBerly GUI namely ct, test_server, node1.

Error

When tried to connect to the node ct, I get an error “Cannot connect to the peer node”. Why is this error coming?

enter image description here

In fact, I am able to trace another sample Erlang application (not a ct module) using Tracing applications such as ErlyBerly, Debugger.

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