Remote Monitoring on GITlab Ci

Hello all,

I am trying to implement the whole platform remote commands in the GitLab ci pipeline. I got some success, till the remote upload. But when I am trying to do a remote monitor of the device connected with the remote agent via platformio , I am having issues, the pipeline fails. If anyone has some ideas why it is happening, do let me know.

my doubt:

when it’s trying to open the socket port using minimap in the ci pipeline, it’s throwing an error. Let me know if I am wrong in this case.

Thank you,
Omprakash
Please find the attached images for your reference.