andytill / andytill/erlyberly

Unable to trace common_test module

Offen
#183 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
Vorherrschende Sprache
Java
Sterne
700
Forks
45
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

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][1]][1]

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

[1]: https://i.stack.imgur.com/1KIjm.png

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.