Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jneo8 opened this issue Dec 21, 2023 · 1 comment

Comments

@jneo8
Copy link
Contributor

jneo8 commented Dec 21, 2023

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.

  • date created: 2022-08-11T07:48:29Z

  • owner: raychan96

  • assignee: None

  • the launchpad url

@jneo8
Copy link
Contributor Author

jneo8 commented Dec 21, 2023

(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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant