UnitTestBot / UTBotCpp

Tool that generates unit test by C/C++ source code, trying to reach all branches and maximize code coverage
Apache License 2.0
158 stars 27 forks source link

VSCode plugin cannot find gRPC server on Ubuntu 24.04 #689

Open zacharytomlinson opened 2 months ago

zacharytomlinson commented 2 months ago

Description VSIX install is successful and the wizard succeeds up until the point of connecting to the gRPC server on localhost

To Reproduce Steps to reproduce the behavior:

  1. Install and open extension for VSCode (VSIX)
  2. Run through wizard until "UTBot: Quickstart 🖥️ Server Setup" page.
  3. Cannot connect to gRPC on localhost:2121 (PID is logged correctly for the server with the default port flag invoked on running server, ps returns a process but console shows no open process on port 2121)

Expected behavior Server is running and wizard connects successfully

Actual behavior Inability to connect to gRPC server

Visual proofs (screenshots, logs) image

Environment Linux 6.8.0-40-generic #40~22.04.3-Ubuntu SMP PREEMPT_DYNAMIC Tue Jul 30 17:30:19 UTC 2 x86_64 x86_64 x86_64 GNU/Linux VSCode 1.92.2

Additional context Also tried the CLionPlugin but it is just a smidge out of date so won't work on newest builds. (I do see there is a bug open for that) Also tried the standalone linux install without IDE integration but initial failure was on creating /logs/latest.log. I manually created the file and then it seemingly runs but returns after about 1 minute. No error is generated and no logs are output to latest.log