-
Notifications
You must be signed in to change notification settings - Fork 33
[P2P] libp2p and networking tests are failing on an ubuntu 20.04 server #584
Copy link
Copy link
Closed
Labels
bugSomething isn't working - expected behaviour is incorrectSomething isn't working - expected behaviour is incorrectp2pP2P specific changesP2P specific changes
Milestone
Description
Objective
Investigate and triage why libp2p and networking tests are failing on an ubuntu 20.04 server.
? github.com/pokt-network/pocket/libp2p [no test files]
{"level":"warn","time":"2023-03-14T11:11:19-04:00","message":"resolved multiple addresses but only using one. See ticket #557 for more details"}
{"level":"warn","time":"2023-03-14T11:11:22-04:00","message":"resolved multiple addresses but only using one. See ticket #557 for more details"}
--- FAIL: TestPeerMultiAddrFromServiceURL_Error (3.59s)
--- FAIL: TestPeerMultiAddrFromServiceURL_Error/fully_qualified_domain_name_with_scheme/fqdn (0.28s)
url_conversion_test.go:101:
Error Trace: /home/bigboss/pocket-network/pocket-v1/libp2p/network/url_conversion_test.go:101
Error: Error "failed to parse multiaddr \"/ip4/103.120.80.111/tcp\": unexpected end of multiaddr" does not contain "resolving peer IP for hostname"
Test: TestPeerMultiAddrFromServiceURL_Error/fully_qualified_domain_name_with_scheme/fqdn
Messages: actualMultiaddr: %!s(<nil>)
--- FAIL: TestPeerMultiAddrFromServiceURL_Error/fully_qualified_domain_name_with_scheme/ip4 (3.30s)
url_conversion_test.go:101:
Error Trace: /home/bigboss/pocket-network/pocket-v1/libp2p/network/url_conversion_test.go:101
Error: Error "failed to parse multiaddr \"/ip4/103.120.80.111/tcp\": unexpected end of multiaddr" does not contain "resolving peer IP for hostname"
Test: TestPeerMultiAddrFromServiceURL_Error/fully_qualified_domain_name_with_scheme/ip4
Messages: actualMultiaddr: %!s(<nil>)
--- FAIL: TestPeerMultiAddrFromServiceURL_Error/fully_qualified_domain_name_with_scheme/ip6 (0.00s)
url_conversion_test.go:101:
Error Trace: /home/bigboss/pocket-network/pocket-v1/libp2p/network/url_conversion_test.go:101
Error: Error "failed to parse multiaddr \"/ip4/103.120.80.111/tcp\": unexpected end of multiaddr" does not contain "resolving peer IP for hostname"
Test: TestPeerMultiAddrFromServiceURL_Error/fully_qualified_domain_name_with_scheme/ip6
Messages: actualMultiaddr: %!s(<nil>)
FAIL
FAIL github.com/pokt-network/pocket/libp2p/network 3.628s
Origin Document
The tests should not fail.
Goals
- Fix failure or add documentation if a lapse in config or server setup
General issue deliverables
- Update the appropriate CHANGELOG(s)
- Update any relevant local/global README(s)
- Update relevant source code tree explanations
- Add or update any relevant or supporting mermaid diagrams
Testing Methodology
- Task specific tests or benchmarks:
make ... - New tests or benchmarks:
make ... - All tests:
make test_all - LocalNet: verify a
LocalNetis still functioning correctly by following the instructions at docs/development/README.md
Creator: @0xBigBoss
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't working - expected behaviour is incorrectSomething isn't working - expected behaviour is incorrectp2pP2P specific changesP2P specific changes
Type
Projects
Status
Done