Replies: 1 comment
-
Sorry for the late response.
From
In practice the username is currently ignored, but you shouldn't rely on that.
If you expect an instance of the BareboxDriver, request that instead of the generic CommandProtocol.
The port is only required for a RawSerialPort. See https://labgrid.readthedocs.io/en/latest/configuration.html#usbserialport.
Note that the proxy value is meant to contain only the hostname. The "username@" prefix might currently work, but that's only an implementation detail you should not rely on. Better configure these things in your SSH client config.
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
Can someone help me set up the pytest command for remote testing. Based on my current understanding the command that I'm using on my machine is:
pytest --lg-env remote.yaml --lg-coordinator username@IP_ADDR test_shell.py
But its showing error:
my remote.yaml file:
and test_shell.py:
I am using the Labgrid 24.1.dev123 release.
On one machine I have both coordinator and exporter running.
The exporter configuration:
I am able to access my hardware's terminal from my machine using the command:
labgrid-client -P username@IP_ADDR -p example-place acquire
and then using:
labgrid-client -P username@IP_ADDR -p example-place console
I think my
test_shell.py
file is incorrect or there is some change to be made to theremote.yaml
file. Can someone help me on fixing this issue.Beta Was this translation helpful? Give feedback.
All reactions