Project

General

Profile

action #156283

Updated by emiler 3 months ago

openQA test in scenario sle-15-SP6-Online-x86_64-fips_strongswan_server@64bit fails in 
 [strongswan_server](https://openqa.suse.de/tests/13640743/modules/strongswan_server/steps/73) 

 There is a problem with inserting the password when executing `scp`: 

 ``` 
     # Copy the keys and certificates to the second host 
     exec_and_insert_password("scp -o StrictHostKeyChecking=no ca.cert.pem root\@$remote_ip:$ipsec_dir/cacerts/"); 
     exec_and_insert_password("scp -o StrictHostKeyChecking=no host1.cert.pem root\@$remote_ip:$ipsec_dir/certs/"); 
     exec_and_insert_password("scp -o StrictHostKeyChecking=no host2.cert.pem root\@$remote_ip:$ipsec_dir/certs/"); 
     exec_and_insert_password("scp -o StrictHostKeyChecking=no host2.pem root\@$remote_ip:$ipsec_dir/private/"); 
 ``` 

 This could probably also be optimized into just one `scp` operation by using a wildcard.

Back