[Lldb-commits] [lldb] [lldb] Have lldb-server assign ports to children in platform mode (PR #88845)

Vladimir Vereschaka via lldb-commits lldb-commits at lists.llvm.org
Fri May 24 11:09:43 PDT 2024


vvereschaka wrote:

Hi @Awfa,

we start getting failures for some LLDB API tests after these changes. The tests are running on Jetson AGX/Cortex a78 (aarch64) board with Ubuntu Linux 22.04 on it. The failed tests get failed with the following error message:
```
AssertionError: No value is not true : Could not create a valid process for a.out: unable to launch a GDB server on 'jetson-agx-2198'
```
We run these tests in 8 threads. The `lldb-server` is executing on the target board with the following arguments:
```
./lldb-server p --log-channels 'lldb all' --listen '*:1234' --server --min-gdbserver-port 1236 --max-gdbserver-port 1246
```

The build host is Windows, the remote target host is Ubuntu Linux.

Affected tests:

* lldb-api :: commands/process/handle/TestProcessHandle.py
* lldb-api :: commands/target/basic/TestTargetCommand.py
* lldb-api :: functionalities/breakpoint/breakpoint_command/TestBreakpointCommand.py
* lldb-api :: functionalities/breakpoint/breakpoint_conditions/TestBreakpointConditions.py
* lldb-api :: functionalities/breakpoint/breakpoint_locations/TestBreakpointLocations.py
* lldb-api :: functionalities/breakpoint/breakpoint_reset_upon_run/TestBreakpointResetUponRun.py
* lldb-api :: functionalities/rerun/TestRerun.py
* lldb-api :: functionalities/rerun_and_expr/TestRerunAndExpr.py
* lldb-api :: functionalities/signal/raise/TestRaise.py
* lldb-api :: source-manager/TestSourceManager.py

Reverting of these changes fixes the problem.

Thanks.
Vlad.

https://github.com/llvm/llvm-project/pull/88845


More information about the lldb-commits mailing list