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
tests/nested/manual/refresh-revert-fundamentals: fix variable use #10722
tests/nested/manual/refresh-revert-fundamentals: fix variable use #10722
Conversation
Commit a7657b5 seems to have broken the test, which went unnoticed until there happened to be leaking a set -u from one of the sourced files which triggered this error: ``` + echo 'Check the new version of the snaps is correct after the system reboot' Check the new version of the snaps is correct after the system reboot + tests.nested exec 'snap list core20' + MATCH '^core20.*1113.*latest/edge.*' Warning: Permanently added '[localhost]:8022' (ECDSA) to the list of known hosts. + echo 'Check the change is completed' Check the change is completed + case "$SNAP" in /bin/bash: line 121: REVERT_ID: unbound variable ----- ``` Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Codecov Report
@@ Coverage Diff @@
## master #10722 +/- ##
==========================================
- Coverage 78.36% 78.35% -0.01%
==========================================
Files 885 885
Lines 99526 99526
==========================================
- Hits 77991 77987 -4
- Misses 16636 16639 +3
- Partials 4899 4900 +1
Flags with carried forward coverage won't be shown. Click here to find out more.
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thank you!
Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
Trying to pass the right arguments to the retry tool on the nested host the quoting gets really complicated. Revert to invoking retry from the test host. Signed-off-by: Maciej Borzecki <maciej.zenon.borzecki@canonical.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice, thanks
Failures are unrelated, @mvo5 can you land this PR? |
Commit a7657b5 seems to have broken the test,
which went unnoticed until there happened to be leaking a set -u from one of the
sourced files which triggered this error:
Signed-off-by: Maciej Borzecki maciej.zenon.borzecki@canonical.com
Thanks for helping us make a better snapd!
Have you signed the license agreement and read the contribution guide?