-
Notifications
You must be signed in to change notification settings - Fork 67
Add hole punching tests #695
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
base: master
Are you sure you want to change the base?
Conversation
|
@codemaestro64 The CI/CD pipeline is failing due to a minor issue. From the logs, we can see the following:
The issue is that the actual file name is 'hole_punch.py', but the Dockerfile references 'hole_punch_test.py'. This mismatch is causing the build error. To resolve this, you can either:
The incorrect references in the Dockerfile are:
|
…into feat/hole-punch
721d257 to
22e7bbe
Compare
Python Implementation Missing Features - Hole Punch InteropOverviewThis document analyzes what the Python implementation in Critical Missing Features1. Binary Name RequirementStatus: ❌ MISSING
2. Redis IntegrationStatus: ❌ MISSING
3. Test Flow ImplementationStatus: ❌ INCORRECT The Python implementation doesn't follow the required test flow: Missing Steps:
4. Output FormatStatus: ❌ INCORRECT
5. Mode ValuesStatus: ❌ INCORRECT
6. Transport SupportStatus: ❌ MISSING
7. Required System ToolsStatus: ❌ MISSING
8. TCP_NODELAYStatus: ❌ MISSING
9. Connection Keep-AliveStatus: ❌ UNCLEAR
10. 0RTT NegotiationStatus: ❌ UNCLEAR
11. Protocol VersionStatus:
12. Muxer SelectionStatus: ❌ INCORRECT
13. Logging RequirementsStatus:
14. Listener BehaviorStatus:
15. Error HandlingStatus:
SummaryThe Python implementation is missing the core Redis-based orchestration mechanism and doesn't follow the required test flow. It appears to be using a simplified approach that bypasses the standard test infrastructure. To be compliant, it needs:
Reference ImplementationThe Rust implementation in
|
What this PR does
Adds Python (
py-libp2pv0.2.9) to the existinghole-punch-interoptest suite.Implemented
/libp2p/dcutr/0.1.0protocolhost.get_network().get_addrs())iptablesmasquerade (entrypoint)Output