Describe the bug
When using multiple CPUs, the port assignments conflict each other.
CI lab ports:
Processor 1: port 1234
Processor 2: port 1235
Processor 3: port 1236
TO lab also uses port 1235.
If cFS CPU2 runs, the Ground System cannot use the port 1235.
To Reproduce
Steps to reproduce the behavior:
- Start cFS CPU2
- Start Ground System
- See error about cannot bind socket:
cFS-GroundSystem/RoutingService.py", line 59, in run
self.sock.bind(('', udp_recv_port))
OSError: [Errno 98] Address already in use
Expected behavior
There should be separate ports for TO and CI for all CPUs.
Code snips
Not applicable.
System observed on:
- Hardware
- OS: Ubuntu 24.10
- Versions: cfe equuleus-rc1+dev223, osal equuleus-rc1+dev93, psp equuleus-rc1+dev55.
Additional context
Reporter Info
Szilárd HELF, Remred
Describe the bug
When using multiple CPUs, the port assignments conflict each other.
CI lab ports:
Processor 1: port 1234
Processor 2: port 1235
Processor 3: port 1236
TO lab also uses port 1235.
If cFS CPU2 runs, the Ground System cannot use the port 1235.
To Reproduce
Steps to reproduce the behavior:
cFS-GroundSystem/RoutingService.py", line 59, in run
self.sock.bind(('', udp_recv_port))
OSError: [Errno 98] Address already in use
Expected behavior
There should be separate ports for TO and CI for all CPUs.
Code snips
Not applicable.
System observed on:
Additional context
Reporter Info
Szilárd HELF, Remred