-
Notifications
You must be signed in to change notification settings - Fork 104
fix(pull_image): correctly check if node is a docker container #11393
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
Conversation
seems like this is the only failure left in the integration tests:
and it's known one related to HDR handling that we need to chase down |
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
added provision test for aws and gce, for making sure it doesn't regress those |
Previously, the `docker_hub_login` method in `RemoteDocker.pull_image` was incorrectly using `node.is_docker` as a property. Since `is_docker` is implemented as a method, accessing it without parentheses always evaluated to True value. This change ensures `node.is_docker()` is properly called, so the `docker_hub_login` behaves as intended.
28764e3
to
5d88bc0
Compare
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
@fruch Had to re-trigger CI as gce provision test failed the first time (the test itself passed, but pipeline reported a connection error for builder instance). On rerun both tests pass. Test integration tests are passing now, except for the |
Previously, the
docker_hub_login
method inRemoteDocker.pull_image
was incorrectly usingnode.is_docker
as a property. Sinceis_docker
is implemented as a method, accessing it without parentheses always evaluated to True value.This change ensures
node.is_docker()
is properly called, so thedocker_hub_login
behaves as intended.Testing
PR pre-checks (self review)
backport
labelsReminders
sdcm/sct_config.py
)unit-test/
folder)