Hi all,

We're trying to setup osmo-gsm-tester on bare metal and are currently 
experiencing issues with the Jenkins job 'osmo-gsm-tester-runner'. All of our 
test machines are running Ubuntu Server 20.04 and have been setup following the 
latest available manual from 
https://downloads.osmocom.org/docs/latest/osmo-gsm-tester-manual.pdf.

We've trying to use the '4g_srsLTE' example from 
https://github.com/osmocom/osmo-gsm-tester/tree/master/doc/examples/4g_srsLTE 
but when trying to run the 'ping' test the following error is returned in the 
Jenkins console output:

" 14:07:52.867022 run          mk-remote-dir(pid=2480): ERR: Terminated: ERROR 
{rc=1}  
[trial-21↪4g:srsenb-rftype@soapy↪ping.py:9↪ping.py↪srsepc_10.100.100.113↪[email protected]↪mk-remote-dir(pid=2480)]
 
14:07:53.015620 run          mk-remote-dir(pid=2480): stdout:
| (launched: 2022-09-23_14:07:51.598612)
| mkdir: cannot create directory ‘/osmo-gsm-tester-srsepc’: Permission denied "

It appears that osmo-gsm-tester is trying to create the directory 
'osmo-gsm-tester-srsepc' under root, which is not permitted as the Jenkins user 
the script runs has does not have permissions. Additionally, it looks like this 
path is hard-coded in the Python module 
https://github.com/osmocom/osmo-gsm-tester/blob/master/src/osmo_gsm_tester/obj/epc_srs.py#L37
 and also the same applies for srsENB 
https://github.com/osmocom/osmo-gsm-tester/blob/master/src/osmo_gsm_tester/obj/enb_srs.py#L53

Is this the intended behaviour? Or have we missed out steps during our 
bare-metal setup process? I've double-checked that the main unit can SSH into 
the slave unit without a password so that's not the issue causing "permission 
denied". 

Best regards,
Callum.

Reply via email to