canonical / charm-duplicity

A charm that provides functionality for both manual and automatic backups for a deployed application
0 stars 3 forks source link

zaza tests failed randomly on: No such file or directory: '/root/.ssh/duplicity_id_rsa' #15

Open jneo8 opened 9 months ago

jneo8 commented 9 months ago

zaza functional tests failed randomly on the test cases involving private_ssh_key; the failure is caused by [Error] No such file or directory: '/root/.ssh/duplicity_id_rsa'. However, the functional tests do make changes to private_ssh_key config parameter, and wait to make sure the unit has applied the changes (installing the private ssh key file).

It is suspected that the unit return to idle state and proceeds with the test before the '/root/.ssh/duplicity_id_rsa' is installed.


Imported from Launchpad using lp2gh.

jneo8 commented 9 months ago

(by raychan96) A temporary work around is to add extra delay of one second to let the unit to settle down. The work around is added as one of the commit of https://code.launchpad.net/~bootstack-charmers/charm-duplicity/+git/charm-duplicity/+merge/428200

A proper fix should be implemented in the charm itself.